<template>
  <div class="home">
    <img alt="Vue logo" src="@/assets/img/home/logo.png" />
  </div>
</template>

<script>
//引入接口模块
import { test } from "@/api/home";
//使用vuex
export default {
  name: "home",
  created() {
    test().then((res) => {
      console.log("axios的测试数据 :", res);
      console.log("vuex的测试数据 :", this.testInfo);
    });
  },
};
</script>
